﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="MaintainStudentAcademic.aspx.cs" Inherits="Admin_MaintainStudentAcademic" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div class="cleaner_with_height"></div>        
    <asp:Panel ID="pn_Admin_Content" runat="server">
    <!-- List of Account-->    
        <asp:Panel ID="pn_PersonDetails" runat="server">
        </asp:Panel>
    <asp:Label ID="lb_list" runat="server" Text="Student's List"></asp:Label>
        
    <asp:GridView ID="grv_Account" runat="server" AllowPaging="true" AutoGenerateColumns="false" Width="640px">
        <Columns>            
            <asp:TemplateField>                
                <HeaderTemplate><div> Code</HeaderTemplate>
                <ItemTemplate><%#Eval("UserID") %></ItemTemplate>
            </asp:TemplateField>

              <asp:TemplateField ItemStyle-Width="140px">
                <HeaderTemplate>Full Name</HeaderTemplate>
                <ItemTemplate><%#Eval("FullName") %></ItemTemplate>
            </asp:TemplateField>
            
             
             <asp:TemplateField  ItemStyle-Width="120px">
                <HeaderTemplate>Email</HeaderTemplate>
                <ItemTemplate><%#Eval("Email") %></ItemTemplate>
            </asp:TemplateField>

             <asp:TemplateField  ItemStyle-Width="65px">
                <HeaderTemplate>Date Join</HeaderTemplate>
                <ItemTemplate><%#Eval("DateJoin") %></ItemTemplate>
            </asp:TemplateField>

             <asp:TemplateField  ItemStyle-Width="80px">
                <HeaderTemplate>Course</HeaderTemplate>
                <ItemTemplate><%#Eval("Course") %></ItemTemplate>                
            </asp:TemplateField>
            
            <asp:TemplateField ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                <a href='MaintainStudentAcademic.aspx?UserID=<%#Eval("UserID") %>&&TypeofAccount=Student'>Details</a>
                </ItemTemplate>                
            </asp:TemplateField>

            <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                <a href='StudentPostings.aspx?UserID=<%#Eval("UserID") %>'>Postings</a>
                </ItemTemplate>                
            </asp:TemplateField>
          </Columns>        
    </asp:GridView>
    <!-- End list-->
    </asp:Panel>    
</asp:Content>

